package com.Smallchangesys.prove.aaa;

public class T{
    public static void main(String[] args){
        Outsider out1 = new Outsider();
        out1.say();








    }

}

class Outsider {

    public void say(){
        Father father = new Father(){
            public void hi(){
                System.out.println("Anonymous class say");
            }
        };
        father.hi();
    }

}

abstract class Father{

    public abstract void hi();

    @Override
    public String toString() {
        return super.toString();
    }
}